/* 
* FlexContainer Ajax Messaging Wrapper
* Copyright (C) 2009 Michael Paperin
* All rights reserved.
* 
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as 
* published by the Free Software Foundation.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*/
package flexcontainer.ajax.events
{
	import flash.events.Event;

	public class ExternalCallObjectEvent extends Event
	{
		public static const ONCALL:String = "OnExternalCallObject";
		private var _data:Object;
	
		public function ExternalCallObjectEvent(type:String, data:Object)
		{
			_data = data;
			super(type);
		}
	
		public function get data():Object {
			return _data;
		}
	}
}